package com.jy.api.service;

import com.jy.api.domain.CashCouponTransaction;
import com.jy.api.signUpReq.admin.MemberCashCouponRes;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by xiaohua on 2019/1/18.
 */
public interface CashCouponTransactionService {


    Page<CashCouponTransaction> findAllByStoreId(String storeId,String type, Pageable pageable);


    MemberCashCouponRes  findAllByMemberCash(String memberId,String storeId);

    List<CashCouponTransaction> findAllByMemberIdAndStoreId(String memberId,String storeId);

}
